#include "ejstylesheet.h"

QString g_tabBarStyle = "QTabWidget::pane {                     \
            border: none;                                       \
            border-top: 3px solid rgb(66, 66, 66);              \
            background-color: rgb(66, 66, 66);                  \
            }                                                   \
            QTabWidget::tab-bar {                               \
                    border: none;                               \
                    background: rgb(66, 66, 66);                \
            }                                                   \
            QTabBar::tab {                                      \
                    border: none;                               \
                    border-top-left-radius: 4px;                \
                    border-top-right-radius: 4px;               \
                    color: rgb(175, 175, 175);                  \
                    background: rgb(66, 66, 66, 255);           \
                    height: 28px;                               \
                    min-width: 85px;                            \
                    margin-right: 5px;                          \
                    padding-left: 5px;                          \
                    padding-right: 5px;                         \
            }                                                   \
            QTabBar::tab:hover {                                \
                    color: #FFBB66;                             \
                    background: rgb(88, 88, 88, 255);           \
            }                                                   \
            QTabBar::tab:selected {                             \
                    color: #EE7700;                             \
                    background: rgb(44, 44, 44);                \
                    border-top: 1px solid #EE7700;              \
            }                                                   \
            QTabWidget QWidget {                                \
                background-color: #323232;                      \
            }";

QString g_groupBoxStyle = "QGroupBox {            \
                font-size: 12px;                  \
                border: 1px solid rgb(80, 80, 80);\
                border-radius: 4px;               \
                margin-top: 10px;                 \
            }                                     \
            QGroupBox::title {                    \
                    color: rgb(175, 175, 175);    \
                    top:  -10px;                  \
                    left: 10px;                   \
            }";

QString g_tableViewStyle = "QTableView {                                                              \
                                    color:#E1E1E1;                                                    \
                                    selection-color:#EE7700;                                          \
                                    selection-background-color:#666666;                               \
                                    gridline-color:#000000;                                           \
                             }                                                                        \
                             QTableView::pane {                                                       \
                                    border: none;                                                     \
                             }                                                                        \
                             QHeaderView::section {                                                   \
                                    background:#323232;                                               \
                                    color:#E1E1E1;                                                    \
                             }                                                                        \
                             QScrollBar {                                                             \
                                    background:transparent; width: 10px;                              \
                             }                                                                        \
                             QScrollBar::handle{                                                      \
                                    background:lightgray;                                             \
                                    border:2px solid transparent;                                     \
                                    border-radius:5px;                                                \
                             }                                                                        \
                             QScrollBar::handle:hover{                                                \
                                    background:gray;                                                  \
                             }                                                                        \
                             QScrollBar::sub-line{                                                    \
                                    background:transparent;                                           \
                             }                                                                        \
                             QScrollBar::add-line{                                                    \
                                    background:transparent;                                           \
                             }";

QString g_pushButtonStyle = "QPushButton {                       \
                                color: #E1E1E1;                  \
                            }";

QString g_comBoxStyle = "QComboBox {                             \
                            border: none;                        \
                            color: #E1E1E1;                      \
                            padding: 1px 2px 1px 2px;            \
                        }                                        \
                        QComboBox QAbstractItemView {            \
                            color:#E1E1E1;                       \
                            selection-color: #EE7700;            \
                            selection-background-color: #323232; \
                        }                                        \
                        QComboBox::drop-down {                   \
                            subcontrol-origin: padding;          \
                            subcontrol-position: top right;      \
                            border-left-width: 1px;              \
                            border-left-color: black;            \
                            border-left-style: solid;            \
                            border-top-right-radius: 3px;        \
                            border-bottom-right-radius: 3px;     \
                        }                                        \
                        QComboBox::down-arrow {                  \
                            image: url(:/res/png/arrow.png);     \
                        }";
